<template>
  <div>
    <el-row :gutter="10">
      <el-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8" v-for="(item, index) in Rankinglist" :key="index"
        ><div class="grid-content bg-purple">
          <div class="left_img">
            <img
              :src="item.coverImgUrl"
              alt=""
            />
          </div>
          <div class="right_txt">
            <h2>{{item.name}}</h2>
            <p>11111111</p>
            <p>11111111</p>
            <p>11111111</p>
          </div>
        </div></el-col
      >
      <el-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8"
        ><div class="grid-content bg-purple"></div
      ></el-col>
      <el-col :xs="12" :sm="12" :md="12" :lg="8" :xl="8"
        ><div class="grid-content bg-purple"></div
      ></el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  props: {
    Rankinglist: {
      type: Array,
      required: true
    }
  }
}
</script>

<style lang="less" scoped>
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.bg-purple {
  background: rgb(57, 27, 78);
  height: 150px;
  margin: 15px 10px;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  display: flex;
  border-radius: 4px;
  min-height: 36px;
}
.left_img {
  width: 150px;
  height: 100%;
  margin-right:15px ;
  img {
    border-radius: 4px;
    width: 100%;
    height: 100%;
  }
}
.right_txt {
  h2 {
    margin: 15px 0 10px 0;
  }
  p {
    line-height: 26px;
    color: rgb(125, 106, 139);
  }
}
</style>>
